{include file="../Public/header.html"}
<script type="text/javascript" src="__PUBLIC__/Js/jquery.validate.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/jQuery.validate.message_cn.js"></script>
<div class="handle-btns">
	<div class="link-button"><p><a class="" href="javascript:;" name="" id="" onclick="history.back();">返回</a></p></div>
</div>
<form action="?g={$smarty.const.GROUP_NAME}&m={$smarty.const.MODULE_NAME}&a={$smarty.const.ACTION_NAME}" method="post" name="form_post" id="form_post">
<table cellspacing="0" cellpadding="4" border="0" class="table-form">
	<tbody>
    <tr>
		<th width="200" class="first">优惠码：</th>
		<td><textarea name="codes" cols="" rows="" class="textinput requireinput required" style="height:400px; width:350px;"></textarea><br /><br />一行一个，格式：代码 密码，例如:20120523251 123456</td>
	</tr>
	<tr class="act">
		<th class="first">&nbsp;</th>
		<td>
			<input type="submit" value="提交" class="submit_btn">
			<input type="reset" value="返回" class="reset_btn" onclick="history.back();">
		</td>
	</tr>
</tbody></table>
<input name="_hash_" type="hidden" value="{$_hash_}" />
<input name="c_id" type="hidden" value="{$c_id|default:'0'}" />
</form>
<script type="text/javascript">
var g = '{$smarty.const.GROUP_NAME}';
var m = '{$smarty.const.MODULE_NAME}';
var a = '{$smarty.const.ACTION_NAME}';
<!--{literal}-->
$(document).ready(function() {
			$("#form_post").validate({
						 submitHandler:function(form){
						 							form.submit();
						 						}
						 });
});
<!--{/literal}-->
</script>
{include file="../Public/footer.html"}